﻿ALTER TABLE [dbo].[ErrorReporting]
    ADD CONSTRAINT [FK_ErrorReporting_ErrorReporting] FOREIGN KEY ([ParentId]) REFERENCES [dbo].[ErrorReporting] ([Id]) ON DELETE NO ACTION ON UPDATE NO ACTION;

